<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: contrib/sIPOPT/src/SensPCalculator.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.17</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('SensPCalculator_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">SensPCalculator.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="SensPCalculator_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// Copyright 2009, 2011 Hans Pirnay</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// Date   : 2009-05-06</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef __ASPCALCULATOR_HPP__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define __ASPCALCULATOR_HPP__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;<a class="code" href="IpAlgStrategy_8hpp.html">IpAlgStrategy.hpp</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;<a class="code" href="SensSimpleBacksolver_8hpp.html">SensSimpleBacksolver.hpp</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;<a class="code" href="SensSchurData_8hpp.html">SensSchurData.hpp</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>{</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="foldopen" id="foldopen00026" data-start="{" data-end="};">
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html">   26</a></span><span class="keyword">class </span>SIPOPTLIB_EXPORT <a class="code hl_class" href="classIpopt_1_1PCalculator.html">PCalculator</a>: <span class="keyword">public</span> <a class="code hl_class" href="classIpopt_1_1AlgorithmStrategyObject.html">AlgorithmStrategyObject</a></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>{</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="}">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a23d5b2c2ac87eb0dc57646035d18eaa1">   29</a></span>   <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a23d5b2c2ac87eb0dc57646035d18eaa1">PCalculator</a>(</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SensBacksolver&gt;</a> backsolver,</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SchurData&gt;</a>      A_data</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>   )</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>      : backsolver_(backsolver),</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>        data_A_init(<a class="code hl_function" href="namespaceIpopt.html#a3e8cc2c607c17995786c1929bd006be9">ConstPtr</a>(A_data-&gt;MakeNewSchurDataCopy())),</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>        data_A_(A_data)</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>   { }</div>
</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a851f0fab5307d479ee808dbcab4db3c9">   38</a></span>   <span class="keyword">virtual</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a851f0fab5307d479ee808dbcab4db3c9">~PCalculator</a>()</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>   { }</div>
</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>   <span class="comment">/* Overloaded from AlgorithmStrategyObject */</span></div>
<div class="foldopen" id="foldopen00042" data-start="{" data-end="}">
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#acc7e28a3c63d60d0ecf004d4a2c6a31e">   42</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#acc7e28a3c63d60d0ecf004d4a2c6a31e">InitializeImpl</a>(</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp; <span class="comment">/*options*/</span>,</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>      <span class="keyword">const</span> std::string&amp; <span class="comment">/*prefix*/</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>   )</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>   {</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>      <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>   }</div>
</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#ab96ecb4446515612577435d309289fe2">   51</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#ab96ecb4446515612577435d309289fe2">ComputeP</a>() = 0;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a7c9ad25814ef9221fd40ba7e5e8b794a">   57</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a7c9ad25814ef9221fd40ba7e5e8b794a">GetSchurMatrix</a>(</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const SchurData&gt;</a>&amp; B,</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;Matrix&gt;</a>&amp;                S</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>   ) = 0;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a28b553121508151a9aaa6f7f66eae164">   62</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a28b553121508151a9aaa6f7f66eae164">PrintImpl</a>(</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1Journalist.html">Journalist</a>&amp;  jnlst,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">EJournalLevel</a>      level,</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">EJournalCategory</a>   category,</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>      <span class="keyword">const</span> std::string&amp; name,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>      <a class="code hl_typedef" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>              indent,</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>   ) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="foldopen" id="foldopen00071" data-start="{" data-end="}">
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#aa6467cfe170f3be9087e3e0d6a84112a">   71</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#aa6467cfe170f3be9087e3e0d6a84112a">Print</a>(</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1Journalist.html">Journalist</a>&amp;  jnlst,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">EJournalLevel</a>      level,</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">EJournalCategory</a>   category,</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>      <span class="keyword">const</span> std::string&amp; name,</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>      <a class="code hl_typedef" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>              indent = 0,</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>      <span class="keyword">const</span> std::string&amp; prefix = <span class="stringliteral">&quot;&quot;</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>   )<span class="keyword"> const</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>      <span class="keywordflow">if</span>( jnlst.<a class="code hl_function" href="classIpopt_1_1Journalist.html#aeeaaaa3e6524ecfbc6883cc81f65e6a3">ProduceOutput</a>(level, category) )</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>      {</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>         PrintImpl(jnlst, level, category, name, indent, prefix);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>      }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>   }</div>
</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="foldopen" id="foldopen00086" data-start="{" data-end="}">
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a506ec44ac72b9fcafc5f8e51af476929">   86</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a506ec44ac72b9fcafc5f8e51af476929">Print</a>(</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const Journalist&gt;</a> jnlst,</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">EJournalLevel</a>              level,</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>      <a class="code hl_enumeration" href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">EJournalCategory</a>           category,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>      <span class="keyword">const</span> std::string&amp;         name,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>      <a class="code hl_typedef" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>                      indent,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>      <span class="keyword">const</span> std::string&amp;         prefix</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>   )<span class="keyword"> const</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>      <span class="keywordflow">if</span>( <a class="code hl_function" href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">IsValid</a>(jnlst) &amp;&amp; jnlst-&gt;ProduceOutput(level, category) )</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>      {</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>         PrintImpl(*jnlst, level, category, name, indent, prefix);</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>      }</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>   }</div>
</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="foldopen" id="foldopen00107" data-start="{" data-end="}">
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a5048e774d17a8548bf5a8711b6eeb70c">  107</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SensBacksolver&gt;</a> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a5048e774d17a8548bf5a8711b6eeb70c">Solver</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>      <span class="keywordflow">return</span> backsolver_;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>   }</div>
</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="foldopen" id="foldopen00112" data-start="{" data-end="}">
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a90536e21d2ab7989512bed6c7b6cddf9">  112</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const SchurData&gt;</a> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a90536e21d2ab7989512bed6c7b6cddf9">data_A</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>      <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceIpopt.html#a3e8cc2c607c17995786c1929bd006be9">ConstPtr</a>(data_A_);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>   }</div>
</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="foldopen" id="foldopen00117" data-start="{" data-end="}">
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a0d4f82d97d47adf086d752e9bdd9d626">  117</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SchurData&gt;</a> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a0d4f82d97d47adf086d752e9bdd9d626">data_A_nonconst</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>      <span class="keywordflow">return</span> data_A_;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>   }</div>
</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="foldopen" id="foldopen00122" data-start="{" data-end="}">
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a61c8c9077bc0147a389039b9d322ef67">  122</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1PCalculator.html#a61c8c9077bc0147a389039b9d322ef67">reset_data_A</a>()</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>   {</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>      data_A_ = data_A_init-&gt;MakeNewSchurDataCopy();</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>   }</div>
</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#af45b58b620c8997ab4f3236885b35191">  129</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SensBacksolver&gt;</a> <a class="code hl_variable" href="classIpopt_1_1PCalculator.html#af45b58b620c8997ab4f3236885b35191">backsolver_</a>;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a5146e24702f3302be9d3adf98d93a3b7">  131</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const SchurData&gt;</a> <a class="code hl_variable" href="classIpopt_1_1PCalculator.html#a5146e24702f3302be9d3adf98d93a3b7">data_A_init</a>;</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="classIpopt_1_1PCalculator.html#a685ed2a773aabe0708dbe49d5c7c9d6b">  132</a></span>   <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;SchurData&gt;</a> <a class="code hl_variable" href="classIpopt_1_1PCalculator.html#a685ed2a773aabe0708dbe49d5c7c9d6b">data_A_</a>;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>};</div>
</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>}</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aIpAlgStrategy_8hpp_html"><div class="ttname"><a href="IpAlgStrategy_8hpp.html">IpAlgStrategy.hpp</a></div></div>
<div class="ttc" id="aSensSchurData_8hpp_html"><div class="ttname"><a href="SensSchurData_8hpp.html">SensSchurData.hpp</a></div></div>
<div class="ttc" id="aSensSimpleBacksolver_8hpp_html"><div class="ttname"><a href="SensSimpleBacksolver_8hpp.html">SensSimpleBacksolver.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html">Ipopt::AlgorithmStrategyObject</a></div><div class="ttdoc">This is the base class for all algorithm strategy objects.</div><div class="ttdef"><b>Definition</b> <a href="IpAlgStrategy_8hpp_source.html#l00034">IpAlgStrategy.hpp:35</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Journalist_html"><div class="ttname"><a href="classIpopt_1_1Journalist.html">Ipopt::Journalist</a></div><div class="ttdoc">Class responsible for all message output.</div><div class="ttdef"><b>Definition</b> <a href="IpJournalist_8hpp_source.html#l00116">IpJournalist.hpp:117</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Journalist_html_aeeaaaa3e6524ecfbc6883cc81f65e6a3"><div class="ttname"><a href="classIpopt_1_1Journalist.html#aeeaaaa3e6524ecfbc6883cc81f65e6a3">Ipopt::Journalist::ProduceOutput</a></div><div class="ttdeci">virtual bool ProduceOutput(EJournalLevel level, EJournalCategory category) const</div><div class="ttdoc">Method that returns true if there is a Journal that would write output for the given JournalLevel and...</div></div>
<div class="ttc" id="aclassIpopt_1_1OptionsList_html"><div class="ttname"><a href="classIpopt_1_1OptionsList.html">Ipopt::OptionsList</a></div><div class="ttdoc">This class stores a list of user set options.</div><div class="ttdef"><b>Definition</b> <a href="IpOptionsList_8hpp_source.html#l00032">IpOptionsList.hpp:33</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html"><div class="ttname"><a href="classIpopt_1_1PCalculator.html">Ipopt::PCalculator</a></div><div class="ttdoc">This class is the interface for implementations of any class that calculates the matrix  of the follo...</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00026">SensPCalculator.hpp:27</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a0d4f82d97d47adf086d752e9bdd9d626"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a0d4f82d97d47adf086d752e9bdd9d626">Ipopt::PCalculator::data_A_nonconst</a></div><div class="ttdeci">SmartPtr&lt; SchurData &gt; data_A_nonconst() const</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00117">SensPCalculator.hpp:117</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a23d5b2c2ac87eb0dc57646035d18eaa1"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a23d5b2c2ac87eb0dc57646035d18eaa1">Ipopt::PCalculator::PCalculator</a></div><div class="ttdeci">PCalculator(SmartPtr&lt; SensBacksolver &gt; backsolver, SmartPtr&lt; SchurData &gt; A_data)</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00029">SensPCalculator.hpp:29</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a28b553121508151a9aaa6f7f66eae164"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a28b553121508151a9aaa6f7f66eae164">Ipopt::PCalculator::PrintImpl</a></div><div class="ttdeci">virtual void PrintImpl(const Journalist &amp;jnlst, EJournalLevel level, EJournalCategory category, const std::string &amp;name, Index indent, const std::string &amp;prefix) const =0</div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a5048e774d17a8548bf5a8711b6eeb70c"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a5048e774d17a8548bf5a8711b6eeb70c">Ipopt::PCalculator::Solver</a></div><div class="ttdeci">SmartPtr&lt; SensBacksolver &gt; Solver() const</div><div class="ttdoc">Accessor methods for data and backsolver.</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00107">SensPCalculator.hpp:107</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a506ec44ac72b9fcafc5f8e51af476929"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a506ec44ac72b9fcafc5f8e51af476929">Ipopt::PCalculator::Print</a></div><div class="ttdeci">void Print(SmartPtr&lt; const Journalist &gt; jnlst, EJournalLevel level, EJournalCategory category, const std::string &amp;name, Index indent, const std::string &amp;prefix) const</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00086">SensPCalculator.hpp:86</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a5146e24702f3302be9d3adf98d93a3b7"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a5146e24702f3302be9d3adf98d93a3b7">Ipopt::PCalculator::data_A_init</a></div><div class="ttdeci">SmartPtr&lt; const SchurData &gt; data_A_init</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00131">SensPCalculator.hpp:131</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a61c8c9077bc0147a389039b9d322ef67"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a61c8c9077bc0147a389039b9d322ef67">Ipopt::PCalculator::reset_data_A</a></div><div class="ttdeci">void reset_data_A()</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00122">SensPCalculator.hpp:122</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a685ed2a773aabe0708dbe49d5c7c9d6b"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a685ed2a773aabe0708dbe49d5c7c9d6b">Ipopt::PCalculator::data_A_</a></div><div class="ttdeci">SmartPtr&lt; SchurData &gt; data_A_</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00132">SensPCalculator.hpp:132</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a7c9ad25814ef9221fd40ba7e5e8b794a"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a7c9ad25814ef9221fd40ba7e5e8b794a">Ipopt::PCalculator::GetSchurMatrix</a></div><div class="ttdeci">virtual bool GetSchurMatrix(const SmartPtr&lt; const SchurData &gt; &amp;B, SmartPtr&lt; Matrix &gt; &amp;S)=0</div><div class="ttdoc">Function to extract a SchurMatrix corresponding to $B K^{-1} A$.</div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a851f0fab5307d479ee808dbcab4db3c9"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a851f0fab5307d479ee808dbcab4db3c9">Ipopt::PCalculator::~PCalculator</a></div><div class="ttdeci">virtual ~PCalculator()</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00038">SensPCalculator.hpp:38</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_a90536e21d2ab7989512bed6c7b6cddf9"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#a90536e21d2ab7989512bed6c7b6cddf9">Ipopt::PCalculator::data_A</a></div><div class="ttdeci">SmartPtr&lt; const SchurData &gt; data_A() const</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00112">SensPCalculator.hpp:112</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_aa6467cfe170f3be9087e3e0d6a84112a"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#aa6467cfe170f3be9087e3e0d6a84112a">Ipopt::PCalculator::Print</a></div><div class="ttdeci">void Print(const Journalist &amp;jnlst, EJournalLevel level, EJournalCategory category, const std::string &amp;name, Index indent=0, const std::string &amp;prefix=&quot;&quot;) const</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00071">SensPCalculator.hpp:71</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_ab96ecb4446515612577435d309289fe2"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#ab96ecb4446515612577435d309289fe2">Ipopt::PCalculator::ComputeP</a></div><div class="ttdeci">virtual bool ComputeP()=0</div><div class="ttdoc">Function to start the computation of P from E_0 and KKT.</div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_acc7e28a3c63d60d0ecf004d4a2c6a31e"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#acc7e28a3c63d60d0ecf004d4a2c6a31e">Ipopt::PCalculator::InitializeImpl</a></div><div class="ttdeci">virtual bool InitializeImpl(const OptionsList &amp;, const std::string &amp;)</div><div class="ttdoc">Implementation of the initialization method that has to be overloaded by for each derived class.</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00042">SensPCalculator.hpp:42</a></div></div>
<div class="ttc" id="aclassIpopt_1_1PCalculator_html_af45b58b620c8997ab4f3236885b35191"><div class="ttname"><a href="classIpopt_1_1PCalculator.html#af45b58b620c8997ab4f3236885b35191">Ipopt::PCalculator::backsolver_</a></div><div class="ttdeci">SmartPtr&lt; SensBacksolver &gt; backsolver_</div><div class="ttdef"><b>Definition</b> <a href="SensPCalculator_8hpp_source.html#l00129">SensPCalculator.hpp:129</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SmartPtr_html"><div class="ttname"><a href="classIpopt_1_1SmartPtr.html">Ipopt::SmartPtr</a></div><div class="ttdoc">Template class for Smart Pointers.</div><div class="ttdef"><b>Definition</b> <a href="IpSmartPtr_8hpp_source.html#l00164">IpSmartPtr.hpp:165</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a3e8cc2c607c17995786c1929bd006be9"><div class="ttname"><a href="namespaceIpopt.html#a3e8cc2c607c17995786c1929bd006be9">Ipopt::ConstPtr</a></div><div class="ttdeci">SmartPtr&lt; const U &gt; ConstPtr(const SmartPtr&lt; U &gt; &amp;smart_ptr)</div><div class="ttdef"><b>Definition</b> <a href="IpSmartPtr_8hpp_source.html#l00664">IpSmartPtr.hpp:664</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a412b04fd3180a55969ff76224d5bfec6"><div class="ttname"><a href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">Ipopt::IsValid</a></div><div class="ttdeci">bool IsValid(const SmartPtr&lt; U &gt; &amp;smart_ptr)</div><div class="ttdef"><b>Definition</b> <a href="IpSmartPtr_8hpp_source.html#l00673">IpSmartPtr.hpp:673</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a5a4a27f325033a0e5d85a4ebc4038b57"><div class="ttname"><a href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Ipopt::Index</a></div><div class="ttdeci">ipindex Index</div><div class="ttdoc">Type of all indices of vectors, matrices etc.</div><div class="ttdef"><b>Definition</b> <a href="IpTypes_8hpp_source.html#l00020">IpTypes.hpp:20</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a6cd36af5585112f521733f3e63fd8cb0"><div class="ttname"><a href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">Ipopt::EJournalCategory</a></div><div class="ttdeci">EJournalCategory</div><div class="ttdoc">Category Selection Enum.</div><div class="ttdef"><b>Definition</b> <a href="IpJournalist_8hpp_source.html#l00051">IpJournalist.hpp:52</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a9a3bf04074c3113604067ee277e690ea"><div class="ttname"><a href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">Ipopt::EJournalLevel</a></div><div class="ttdeci">EJournalLevel</div><div class="ttdoc">Print Level Enum.</div><div class="ttdef"><b>Definition</b> <a href="IpJournalist_8hpp_source.html#l00031">IpJournalist.hpp:32</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</body>
</html>
